package com.zimmur.app.mocolink.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zimmur.app.mocolink.dao.UserMessageMapper;
import com.zimmur.app.mocolink.domain.vo.UserMessageInfo;
import com.zimmur.app.mocolink.service.IUserMessageService;
@Service
public class UserMessageServiceImpl implements IUserMessageService {

	@Autowired
	private UserMessageMapper messageMapper;
	@Override
	public List<UserMessageInfo> selectNonePushList(Integer num) {
		return messageMapper.selectNoPushMessage(num);
	}

	@Override
	public int updateMessagePushStatusByIds(List<Integer> messageIds) {
		return messageMapper.updateMessage(messageIds);
	}

}
